<div class="dash">
    <table border="0" cellspacing="0" cellpadding="0">
        <tr>
            <td class="bordertebal2"><table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td id="namapel"><a href="<?php echo base_url()?>pendaftaran/daftar_con/list_pendaftar/<?php echo $kode?>/<?php echo $angkatan?>"><?php echo $nama_pelatihan . ' | ' . $kode . '-' . $angkatan ?></a><span class="delapan"><?php echo $jum_pendaftar ?></span></td>
                    </tr>
                    <tr>
                        <td class="borderkanan">
                            Progress: <?php echo $total_sesi_jalan?> Sesi dari <?php echo $total_kelas_sesi ?> Sesi
                            <?php if($sesi_selesai){echo ' (Kelas Selesai)';}?>
                        </td>
                    </tr>
                </table></td>
        </tr>
    </table>
</div>
<!-------------------------------------------->
<!--ISI MULAI-->
<div class="beftabel">
    <table border="0" cellpadding="0" cellspacing="0" id="absentab">
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
            <?php for($i=0;$i<$total_kelas_sesi;$i++){?>
            <?php if($i<$total_sesi_jalan){?>
            <td><a class="tedeabsen" href="<?php echo base_url()?>pendaftaran/daftar_con/absen_manual/<?php echo $kode?>/<?php echo $angkatan?>/<?php echo ($i+1)?>"><?php echo ($i+1)?></a></td>
            <?php } else{?>
            <td><a class="tedeabsen" href="#"><?php echo ($i+1)?></a></td>
            <?php }?>
            <?php }?>
        </tr>
        <?php for($i=0;$i<$jum_pendaftar;$i++){?>
        <tr>
            <td class="noabsen"><?php echo ($i+1)?></td>
            <td class="namaabsen"><span class="persen"><?php echo number_format($pendaftar[$i]['attendance'],1) ?>%</span> <a href="<?php echo base_url() ?>pendaftaran/daftar_con/profil_peserta/<?php echo $pendaftar[$i]['ID'] ?>"><?php echo $pendaftar[$i]['NAMA'] ?></a></td>
            <?php for($j=1;$j<=$total_kelas_sesi;$j++){?>
            <td class="masuk">
                <?php echo $pendaftar[$i]['hadir'][$j]?>
            </td>
            <?php }?>
        </tr>
        <?php } ?>
    </table>
    <div class="plot2">
        <a href="<?php echo base_url()?>pendaftaran/daftar_con/cetak_form_presensi/<?php echo $kode?>/<?php echo $angkatan?>" target="_blank" class="plot ">Cetak Presensi</a> 
        <?php if($total_sesi_jalan!=0){?>
        <a href="<?php echo base_url()?>pendaftaran/daftar_con/cetak_rekap_presensi/<?php echo $kode?>/<?php echo $angkatan?>"" target="_blank" class="plot ">Cetak Rekap Presensi</a>
        <?php } ?>
    </div>       
</div>
<!-------------------------------------------->
</div>
</td>
<td class="b6"></td>
</tr>
<tr>
    <td class="b4"></td>
    <td class="b5">    <div class="footer2">Copyright &copy;2011 CIC Team | Credits</div></td>
    <td class="b6"></td>
</tr>
<tr>
    <td id="b7"></td>
    <td id="b8"></td>
    <td id="b9"></td>
</tr>
</table>
